package com.icebergteam.warfacewidget.rank;

import com.icebergteam.warfacewidget.R;

public class RankHelper {
	// ID`s for rank images
	private final static int[] imageIds = new int[] {	R.drawable.rank_1, 
														R.drawable.rank_2, 
														R.drawable.rank_3, 
														R.drawable.rank_other };
		
	public static int getImageIdForRank(int rank) {
		return rank < 4 && rank > 0 ? imageIds[rank - 1] : imageIds[3];
	}
}
